# 核心功能模块初始化文件
# Core module initialization

try:
    # 尝试绝对导入
    from voice_wake import VoiceWakeDetector
    from voice_record import VoiceRecorder
    from audio_player import AudioPlayer
    from speech_to_text import SpeechToTextClient
    from text_to_speech import TextToSpeechClient
except ImportError:
    # 回退到相对导入
    from .voice_wake import VoiceWakeDetector
    from .voice_record import VoiceRecorder
    from .audio_player import AudioPlayer
    from .speech_to_text import SpeechToTextClient
    from .text_to_speech import TextToSpeechClient

__all__ = ['VoiceWakeDetector', 'VoiceRecorder', 'AudioPlayer', 'SpeechToTextClient', 'TextToSpeechClient']